import axios from "axios";

axios.defaults.baseURL="http://www.zhaijizhe.cn:3005/"
axios.interceptors.request.use(config=>{
    config.headers['Authorization']='Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2MGNiMDA3M2I4NGRjNWVlZGUwOWRkNzkiLCJpYXQiOjE2NjE0MDc4MzEsImV4cCI6MTY2MTQwOTYzMX0.nZ0smCGaCcjMy-s3BwmNVL8_DhTLBpcSwoZDg9a773o'
    return config;
})
axios.interceptors.response.use(response=>{
    return response.data
})